package cuiying.rbac.domain.dto;

/**
 * 数据传输对象类型-用户
 *
 * @author 崔颖
 * @since 2025/5/18 13:49
 */
public class UserDto extends BaseDto {
    public String username;
    public String name;
    public String mobile;
    public String email;
    /**
     * 所属部门ID
     */
    public int deptId;
    public int roleId;

    public UserDto() {
    }

    public UserDto(String username, String name, String mobile,
                   String email, int deptId, int roleId) {
        this.username = username;
        this.name = name;
        this.mobile = mobile;
        this.email = email;
        this.deptId = deptId;
        this.roleId = roleId;
    }
}
